package com.bdqn.service.impl;


import com.bdqn.dao.ArticleTypeMapper;
import com.bdqn.entity.ArticleType;
import com.bdqn.service.ArticleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("articleTypeService")
public class ArticleTypeServiceImpl implements ArticleTypeService {

    @Autowired
    private ArticleTypeMapper articleTypeMapper;

    @Override
    public List<ArticleType> getAllArticleType() {
        return articleTypeMapper.selectList();
    }
}
